package com.firefly.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

// 注解自动注册
@EnableCaching
@ServletComponentScan
@SpringBootApplication(scanBasePackages = {"com.firefly.web","com.firefly.util","com.firefly.service","com.firefly.dao"})
//主动去扫码其他子包
public class WebApplication {
	public static void main(String[] args) {
		SpringApplication.run(WebApplication.class, args);
	}
}